package jp.sourceforge.akjrcp.flvtools.search;



import jp.sourceforge.akjrcp.flvtools.basic.Perspective;
import jp.sourceforge.akjrcp.flvtools.basic.SimpleView;
import jp.sourceforge.akjrcp.flvtools.dropsomething.DropsomethingPerspective;
import jp.sourceforge.akjrcp.flvtools.explorer.ExplorerPerspective;
import jp.sourceforge.akjrcp.flvtools.explorer.ExplorerView;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;




public class SearchPerspective implements IPerspectiveFactory {
public static String ID=SearchPerspective.class.getName();
	public void createInitialLayout(IPageLayout layout) {
		String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(false);
		layout.setFixed(true);
		
		layout.addStandaloneView(SearchView.ID,  false, IPageLayout.LEFT, 1.0f, editorArea);
	
		layout.addPerspectiveShortcut(Perspective.ID);
		layout.addPerspectiveShortcut(ExplorerPerspective.ID);
		layout.addPerspectiveShortcut(DropsomethingPerspective.ID);
	}

}
